package com.zg.autoflow.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "退回流程入参", description = "退回流程入参")
public class BackWorkflowReq {
    @NotBlank(message = "【当前流程实例编号】字段不能为NULL")
    @ApiModelProperty(value = "当前流程实例编号")
    private  String curInstCode;
    @NotBlank(message = "【当前环节实例编号】字段不能为NULL")
    @ApiModelProperty(value = "当前环节实例编号")
    private  String curStepInstCode;
    @NotBlank(message = "【退回至环节实例编号】字段不能为NULL")
    @ApiModelProperty(value = "退回至环节实例编号")
    private  String backStepInstCodes;
    @NotBlank(message = "【退回描述】字段不能为NULL")
    @ApiModelProperty(value = "退回描述")
    private  String backDescs;
    @ApiModelProperty(value = "是否通过审批")
    private  String approvalFlag;
    @ApiModelProperty(value = "退回的用户id")
    private  String backUserId;
}
